<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8">
<title>中国刊网-个人中心</title>

<link href="css/space.css" rel="stylesheet" type="text/css" />
<link href="css/backtage.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/paihangbnag.js"></script>
<script type="text/javascript" src="js/space.js"></script>

</head>
<body onload="loadNewMsg(),loadUserMsg()">
	<div class="fla">
		<div class="flag">
			<div class="flag_1">欢迎进入中国刊网</div>
			<div class="flag_2">
				<span>${sessionScope.user_session }</span>&nbsp;&nbsp;
				<a href="front/spaceMenu">个人中心</a>
				<a href="user/user_exit">退出</a>
				|
				<a onClick="SetHome(window.location)" href="javascript:void(0)">设为首页</a>
				<a onClick="AddFavorite(window.location,document.title)" href="javascript:void(0)">加入收藏</a>
			</div>
		</div>
	</div>
	<div class="all">
		<div class="clear"></div>
		<div class="top-a">
			<div class="top-left1">
				<a href="index.jsp"><img src="images/Loga-a.gif"></a>
			</div>
			<div class="top-right1">
				<ul>
					<li><a href="user/detailExt" target="select">个人资料</a></li>
					<li><a href="front/msg_get_list" target="select">短消息</a></li>
					<li><a href="front/sysmsg_findByStatus?status=1" target="select">通知</a></li>
					<li><a href="subscribeB/findSUJByuserId" target="select">订阅</a></li>
					<li><a href="store/listStore" target="select">收藏</a></li>
					<li><a id="artical" onmouseover="msg_2_2()">我的文章</a></li>
				</ul>
				<div class="top-right-pos" style="display:none">
					<img src='images/new.gif' border="0" />
				</div>
			</div>
			<div class="con-pos-aticle" onmouseover="msg_2_2()" onmouseout="msg_2_3()" style="display:none">
				<ul>
					<li><a href="artical/artical_findMyArtical?status=3" target="select">已发表</a></li>
					<li><a href="artical/artical_findMyArtical?status=1" target="select">审核中</a></li>
					<li><a href="artical/artical_findMyArtical?status=2" target="select">未通过</a></li>
				</ul>
			</div>
		</div>
		<div class="clear"></div>
		<div class="ma-center">
			<div class="ma-center-left">
				<div class="ma-center-left_top">
					<div class="ma-center-left_top_img">
						<a href="javascript:void(0)">
							<img id="headPic" src="images/noavatar_middle.gif" width="70px" height="80px">
						</a>
					</div>
					<div class="ma-center-left_top_txt">
						<span class="text-a">你好： ${sessionScope.user_session }</span>
						<div class="clear"></div>
						<span class="text-b"><a href="space/userModPwd.jsp" target="select">修改密码</a></span>
						<span class="text-b"><a href="user/findExt" target="select">完善资料</a></span>
					</div>
				</div>
				<div class="ma-center-left_bottom">
					<ul>
						<li><a href="artical/addAtical" target="select">发表文章</a></li>
						<c:forEach items="${requestScope.pv}" var="p" >
							<li><a target="select">${p.groupName }</a></li>
							<c:forEach items="${p.permission }" var="pp">
								<li class="ma-li-a">
									<a href="${pp.pdesc }" target="select">${pp.pname }</a>
									<div class="clear"></div>
								</li>
							</c:forEach>
						</c:forEach>						
					</ul>
				</div>
				<!-- 左边菜单部分结束-->
			</div>
			<div class="ma-center-right">
				<iframe name="select" width="680px" scrolling="no" height="auto"
					frameborder="0" src="${requestScope.url}" id="right"
					onload="javascript:{dyniframesize('right');}"></iframe>
			</div>
		</div>
	</div>
<div style="clear:both"></div>
<jsp:include page="footer.jsp" />
</body>
</html>
